#!/bin/bash
echo $0
echo $(pwd $0)
echo $(dirname $0)
dir=$(cd "$(dirname "$0")"; pwd)
echo $dir
echo $(dirname "${dir}")
